@model LynxWebLog.CategoryData

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>CategoryData</legend>

    <div class="container">
        <div class="row">
            <div class="col-sm-2 col-md-2 col-lg-2">
                <div class="form-group">
                    @Html.LabelFor(model => model.categoryid, new { @class = "control-label" })
                    <div class="controls">
                        @Html.TextBoxFor(model => model.categoryid, new { @class = "form-control input-sm", disabled = "disabled" })
                        @Html.ValidationMessageFor(model => model.categoryid, null, new { @class = "help-inline" })
                    </div>
                    @Html.HiddenFor(model => model.categoryid, new { value = "0" })
                </div>
            </div>
            <div class="col-sm-offset-1 col-md-offset-1 col-lg-offset-1 col-sm-3 col-md-3 col-lg-3">
                <div class="form-group">
                    @Html.LabelFor(model => model.username, new { @class = "control-label" })
                    <div class="controls">
                        @Html.TextBoxFor(model => model.username, new { @class = "form-control input-sm", disabled = "disabled" })
                        @Html.ValidationMessageFor(model => model.username, null, new { @class = "help-inline" })
                    </div>
                </div>
            </div>
            <div class="col-sm-offset-1 col-md-offset-1 col-lg-offset-1 col-sm-5 col-md-5 col-lg-5">
                <div class="form-group">
                    @Html.LabelFor(model => model.title, new { @class = "control-label" })
                    <div class="controls">
                        @Html.TextBoxFor(model => model.title, new { @class = "form-control input-sm", disabled = "disabled" })
                        @Html.ValidationMessageFor(model => model.title, null, new { @class = "help-inline" })
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="form-group">
                @Html.LabelFor(model => model.description, new { @class = "control-label" })
                <div class="controls">
                    @Html.TextAreaFor(model => model.description, new { @class = "form-control input-sm", disabled = "disabled" })
                    @Html.ValidationMessageFor(model => model.description, null, new { @class = "help-inline" })
                </div>
            </div>
        </div>
        <div class="row">
            <div class="form-group">
                @Html.LabelFor(model => model.htmlUrl, new { @class = "control-label" })
                <div class="controls">
                    @Html.TextBoxFor(model => model.htmlUrl, new { @class = "form-control input-sm", disabled = "disabled" })
                    @Html.ValidationMessageFor(model => model.htmlUrl, null, new { @class = "help-inline" })
                </div>
            </div>
        </div>
        <div class="row">
            <div class="form-group">
                @Html.LabelFor(model => model.rssUrl, new { @class = "control-label" })
                <div class="controls">
                    @Html.TextBoxFor(model => model.rssUrl, new { @class = "form-control input-sm", disabled = "disabled" })
                    @Html.ValidationMessageFor(model => model.rssUrl, null, new { @class = "help-inline" })
                </div>
            </div>
        </div>
    </div>
</fieldset>
@using (Html.BeginForm("DeleteConfirmed", "CategoryData", FormMethod.Post)) {
    @Html.AntiForgeryToken()
    @Html.HiddenFor(model => model.categoryid)
    <div class="form-actions">
        <input type="submit" value="Delete" class="btn btn-default btn-primary" /> |
        @Html.ActionLink("Back to List", "Index")
    </div>
}
